package com.moyq5.permit.center.feign.server;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.integration.config.EnableIntegration;

import com.moyq5.permit.center.core.ContextFactory;

/**
 * @author Moyq5
 * @date 2019年6月17日
 */
@Configuration
@EntityScan("com.moyq5.permit.center.bean.entity")
@ComponentScan({"com.moyq5.permit.center.core.dao.impl","com.moyq5.permit.center.core.service.impl"})
@EnableIntegration
public class ComConfiguration {

	@Bean
	public ContextFactory contextFactoryInit(){
		return new ContextFactory();
	}
}
